﻿@model pbvs.Models.Login
@{ Html.Assets().Scripts.Add(Url.Content("~/Scripts/LogOn.js")); }
@using (Html.BeginForm("LogOn", "Client", FormMethod.Post, new { @id = "frmLogin" }))
{
    <fieldset id="login">
        <legend>Returning Users</legend>
        <div class="controls">
                @Html.LabelFor(m => m.Email)
            <div class="test1">
                @Html.TextBoxFor(m => m.Email, null, true)
            </div>
        </div>
        <div class="controls">
            <div class="">
                @Html.LabelFor(m => m.Password)
            </div>
            <div class="">
                @Html.PasswordFor(m => m.Password)
            </div>
        </div>
        <button id="btnLogin">Login</button>&nbsp;<button id="btnSkip">Skip</button>
        @Html.ValidationSummary()
    </fieldset>
}

<script type="text/javascript">
    var loginUrl = "@Url.Action("LogOn", "Client")";
    var valuationUrl = "@Url.Action("ValuationRequest", "Valuation")";
</script>
